import {myRequest} from '../network/http.js'

 const baseUrl = 'customer/customer'
 
 // 登录
 export function userLogin (config) {  
 	return myRequest({
 		url:baseUrl+'/login',
 		method:'post',
 		data:config
 	})
 }
 
 export function updateInfo (config) {
 	return myRequest({
 		url:baseUrl,
 		method:'put',
 		data:config
 	})
 }